package com.example.project.projectspringcloud.service.order;

import com.example.project.projectspringcloud.entity.order.OrderCombo;

import java.util.List;

/**
 * 套餐Service
 */
public interface OrderComboService {

    /**
     * get
     *
     * @param entity
     * @return
     */
    OrderCombo get(OrderCombo entity);

    /**
     * 获取全部OrderCombo
     * ==============================================================================
     *
     * @param entity
     * @return
     */
    List<OrderCombo> list(OrderCombo entity);

    /**
     * save
     *
     * @param entity
     * @return
     */
    boolean save(OrderCombo entity);

    /**
     * 获取该套餐, 列-列表
     * ==============================================================================
     *
     * @param entity
     * @return
     */
    List<OrderCombo> columnList(OrderCombo entity, Integer type);

}
